using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class ArrayUtilities {

	public static bool Contains<T>(T[] array,System.Predicate<T>predicate) {
		foreach(T i in array)
			if(predicate.Invoke(i)) return true;
		return false;
	}
}
